package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 合同提示词内容对象 contract_prompt_content
 * 
 * @author ruoyi
 */
public class ContractPromptContent extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 内容ID */
    private Long contentId;

    /** 提示词ID */
    @Excel(name = "提示词ID")
    private Long promptId;

    /** 任务目标 */
    @Excel(name = "任务目标")
    private String taskObjective;

    /** 输出格式(JSON) */
    @Excel(name = "输出格式")
    private String outputFormat;

    /** 版本号 */
    @Excel(name = "版本号")
    private Integer versionNum;

    /** 是否默认版本（Y是 N否） */
    @Excel(name = "是否默认版本", readConverterExp = "Y=是,N=否")
    private String isDefault;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    public void setContentId(Long contentId) 
    {
        this.contentId = contentId;
    }

    public Long getContentId() 
    {
        return contentId;
    }

    public void setPromptId(Long promptId) 
    {
        this.promptId = promptId;
    }

    public Long getPromptId() 
    {
        return promptId;
    }

    public void setTaskObjective(String taskObjective) 
    {
        this.taskObjective = taskObjective;
    }

    public String getTaskObjective() 
    {
        return taskObjective;
    }

    public void setOutputFormat(String outputFormat) 
    {
        this.outputFormat = outputFormat;
    }

    public String getOutputFormat() 
    {
        return outputFormat;
    }

    public void setVersionNum(Integer versionNum) 
    {
        this.versionNum = versionNum;
    }

    public Integer getVersionNum() 
    {
        return versionNum;
    }

    public void setIsDefault(String isDefault) 
    {
        this.isDefault = isDefault;
    }

    public String getIsDefault() 
    {
        return isDefault;
    }

    @Override
    public void setUpdateTime(Date updateTime) 
    {
        this.updateTime = updateTime;
    }

    @Override
    public Date getUpdateTime() 
    {
        return updateTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("contentId", getContentId())
            .append("promptId", getPromptId())
            .append("taskObjective", getTaskObjective())
            .append("outputFormat", getOutputFormat())
            .append("versionNum", getVersionNum())
            .append("isDefault", getIsDefault())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
